<table>
    <tbody>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="b2b.category.id" default="Id" />:</td>
            <td valign="top" class="value">${fieldValue(bean: categoryInstance, field: "id")}</td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="b2b.category.recordType" default="Record Type" />:</td>
            <td valign="top" class="value"><g:link controller="recordType" action="show" id="${categoryInstance?.recordType?.id}">${categoryInstance?.recordType?.encodeAsHTML()}</g:link></td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="b2b.category.serialNumber" default="Serial Number" />:</td>
            <td valign="top" class="value">${fieldValue(bean: categoryInstance, field: "serialNumber")}</td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="b2b.category.name" default="Name" />:</td>
            <td valign="top" class="value">${fieldValue(bean: categoryInstance, field: "name")}</td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="b2b.category.discount" default="Discount" />:</td>
            <td valign="top" class="value">${fieldValue(bean: categoryInstance, field: "discount")}</td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="b2b.category.productionCycle" default="Production Cycle" />:</td>
            <td valign="top" class="value">${fieldValue(bean: categoryInstance, field: "productionCycle")}</td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="b2b.category.transportCycle" default="Transport Cycle" />:</td>
            <td valign="top" class="value">${fieldValue(bean: categoryInstance, field: "transportCycle")}</td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="b2b.category.deliveryCycle" default="Delivery Cycle" />:</td>
            <td valign="top" class="value">${fieldValue(bean: categoryInstance, field: "deliveryCycle")}</td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="b2b.category.hasBom" default="Has Bom" />:</td>
            <td valign="top" class="value">${formatBoolean(boolean: categoryInstance?.hasBom)}</td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="b2b.category.dateCreated" default="Created Date" />:</td>
            <td valign="top" class="value"><g:formatDate date="${categoryInstance?.dateCreated}" /></td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="b2b.category.lastUpdated" default="Last Updated" />:</td>
            <td valign="top" class="value"><g:formatDate date="${categoryInstance?.lastUpdated}" /></td>
        </tr>
    </tbody>
</table>
